<template lang="html">
  <div class="login-main">
    <div class="login-logo"></div>
    <div class="login-content">
      <div class="login-username">
        <i class="iconfont icon-zhanghao"></i>
        <input type="text" v-model='username' value="" placeholder="手机号">
      </div>
      <div class="login-password">
        <i class="iconfont icon-dunpai"></i>
        <input type="text" v-model='password' placeholder="输入验证码">
        <div class="auth-code">获取验证码</div>
      </div>
      <!-- <p v-if="errorTips" class="error-tips">用户名或密码错误，请重新输入</p> -->
      <div class="login-btn">
        <button type="button"  name="button"  @click='registerClick'>注册</button>
      </div>
      <p class="forget-psw">
        <!-- <span class="register-block"></span> -->
        <input type="checkbox" name="" value="" class="register-block">
        我已阅读并同意
        <i class="user-agreement">《 用户协议 》</i>
      </p>
    </div>

  </div>
</template>

<script>
export default {
  name:'Registered',
  data(){
    return{
      username:'',
      password:'',
      errorTips:false
    }
  },
  props:{
    userInfo:{
      type:Object,
      default:function(){
        return{}
      }
    }
  },
  methods:{
    registerClick(event){

    }
  }
}
</script>

<style lang="less" scoped>
.login-main{
  .login-logo{
    width: 1.93rem;
    height: 1.93rem;
    margin: 0.65rem auto;
    background: url('../../assets/img/MineLogo.png') no-repeat;
    background-size: cover;
  }
  .login-content{
    .login-username,.login-password{
      width: 5.92rem;
      height: 0.47rem;
      margin: 0 auto;
      margin-bottom: 0.65rem;
      border-bottom: 0.02rem solid #43bf92;
      input{
        font-size: 0.3rem;
        height: 80%;
        width: 90%;
        outline: none;
      }
    }
    .login-password{
      position: relative;
      .auth-code{
        color:#fff;
        width: 1.24rem;
        height: 0.5rem;
        line-height: 0.5rem;
        text-align: center;
        background-color: #43bf92;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.2rem;
        padding: 0 0.06rem;
      }
    }
    .error-tips{
      width: 5.92rem;
      color: 	#FF0000;
      margin: 0 auto;
    }
    .login-btn{
      width: 100%;
      margin-top: 1.56rem;
      text-align: center;
      button{
        font-size: 0.3rem;
        color: #fff;
        width: 5.11rem;
        height: 0.75rem;
        border: 0.02rem solid #44bf91;
        background-color: #44bf91;
        border-radius: 0.1rem;
        outline: none;
      }
    }
    .forget-psw{
      width: 5.11rem;
      margin: 0.2rem auto;
      text-align: left;
      .register-block{
        width: 0.3rem;
        height: 0.3rem;
        vertical-align: middle;
      }
      .user-agreement{
        font-style: normal;
        color: #44bf91;
      }
    }
  }

}
</style>
